// 消息通知 模块

import { SystemSpace } from "@/api/interface/message"
import { ResPage } from "@/api/interface/index"
import http from "@/api"

// ------------------消息通知------------------ //
// 消息通知 分页查询
export const messagePage = (params: SystemSpace.MessagePageQuery) => {
  return http.post<ResPage<SystemSpace.MessagePage>>("/sysNotice/page", params)
}
// 消息通知 详情
export const messageDetail = (params: { id: number }) => {
  return http.post<SystemSpace.MessageDetail>("/sysNotice/detail", params)
}
